/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package alimentacion;

/**
 *
 * @author luis
 */
public class main {

    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        Refrigerados refrigerado = new Refrigerados("10/10/20", "09/09/20", "españa", 1000, 50, 152364);
        Frescos fresco1 = new Frescos("10/10/20", "09/09/20", "españa", 1000);
        Frescos fresco2 = new Frescos("10/10/2009", "09/09/2010", "españa", 2000);
        Congelados congelado1 = new Congelados("10/20/30", "10/40/50", "alemania", 12030, 40, 1);
        Congelados congelado2 = new Congelados("10/20/40", "10/40/60", "francia", 1201, 40, 2);
        Congelados congelado3 = new Congelados("10/20/50", "10/40/70", "italia", 1230, 40, 0);
        
        System.out.print("\nRefrigerado:\n\n");
        refrigerado.showData();
        System.out.print("\nFresco:\n\n");
        fresco1.showData();
        System.out.print("\n");
        fresco2.showData();
        System.out.print("\nCongelado:\n\n");
        congelado1.showData();
        System.out.println("");
        congelado2.showData();
        System.out.println("");
        congelado3.showData();
        
        
    }
}
